package org.example.springcloud.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.List;

@AllArgsConstructor//全参构造
@NoArgsConstructor//无参构造
@Data//由于导入lombok，所以自动生成get、set方法
public class User implements Serializable {

    private Long userid;

    private String userpass;

    private String username;

    // 0启用 1未启用
    private Integer status;

    private String credate;

    private List<String> date;

    private String begindate;

    private String endddate;
}
